<template>
  <div>
    <el-dialog title="添加三级" :visible="true" width="80%" @close="handleClose">
      <el-form ref="form" :model="form" label-width="80px">
        <el-form-item label="名称：" required>
          <el-input v-model="form.input" placeholder="请输入名称"></el-input>
        </el-form-item>
      </el-form>



      <span slot="footer" class="dialog-footer">
        <el-button @click="handleClose">取 消</el-button>
        <el-button type="primary" @click="handleClose">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        input: ''
      }

    }
  },
  created() {

  },
  methods: {
    handleClose() {
      this.$emit('close')
    }
  },
}
</script>
<style lang="scss" scoped>

</style>
